package ch.zbw.sysventory.server.service;

import java.util.Date;
import java.util.List;

import ch.zbw.sysventory.server.model.Computer;
import ch.zbw.sysventory.server.model.ComputerScan;

public interface ComputerScanService {

	public ComputerScan get(Long id);

	public List<ComputerScan> list();

	public ComputerScan getLatestScan();

	public ComputerScan save(ComputerScan computerScan);

	public List<ComputerScan> listComputerScansBetween(Date date1, Date date2);

	public long countComputerScansBetween(Date date1, Date date2);

	public long countComputersScannedBetween(Date date1, Date date2);

	public List<Computer> getComputersScannedBetween(Date date1, Date date2);

}
